﻿using System.Data.Entity;

namespace RMS.Models.Repository
{
    /* Entity Framework context class -- enables communication between database and repository. */

    public class EFDbContext : DbContext {

        // DbSet<Retreat> represents the model, "Retreats" is the database table.
        public DbSet<Retreat> Retreats { get; set; }
        public DbSet<Reservation> Reservations { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<VolunteerItem> VolunteerItems { get; set; }
        public DbSet<OrderLine> OrderLines { get; set; }
       
    }
}